<form id="auto-data-form" action="config/saveOrUpdate" class="form-horizontal bv-form" method="post" role="form">
	<div style="display: none;">
		<input id="model.id" name="model.id" value="#(model.id)" placeholder="配置主键" type="hidden" />
	</div>
		
	<div class="form-group">
		<label for="model.code" class="col-sm-2 control-label">配置代码</label>
		<div class="col-sm-10">
			<input id="model.code" name="model.code" value="#(model.code)" placeholder="配置代码" class="form-control input-md" required maxlength="64"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.name" class="col-sm-2 control-label">配置名称</label>
		<div class="col-sm-10">
			<input id="model.name" name="model.name" value="#(model.name)" placeholder="配置名称" class="form-control input-md" required maxlength="64"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.val" class="col-sm-2 control-label">配置值</label>
		<div class="col-sm-10">
			<input id="model.val" name="model.val" value="#(model.val)" placeholder="配置值" class="form-control input-md" required maxlength="512"/>
		</div>
	</div>
	
	<div class="form-group hide" >
		<label for="model.type" class="col-sm-2 control-label">配置类型</label>
		<div class="col-sm-10">
			<input id="model.type" name="model.type" value="#(model.type)" placeholder="配置类型" class="form-control input-md" required maxlength="32"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.state" class="col-sm-2 control-label">配置状态</label>
		<div class="col-sm-10">
			#@dict_select("model.state",model.state,"DATA_STATE",false,"配置状态","required")
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.sort" class="col-sm-2 control-label">排序</label>
		<div class="col-sm-10">
			<input id="model.sort" name="model.sort" value="#(model.sort)" placeholder="排序" class="form-control input-md" required data-bv-integer maxlength="10" type="number"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.remark" class="col-sm-2 control-label">描述</label>
		<div class="col-sm-10">
			<textarea id="model.remark" name="model.remark" placeholder="描述" class="form-control input-md" maxlength="1024">#(model.remark)</textarea>
		</div>
	</div>
	
</form>
<script type="text/javascript">
	$(document).ready(function() {
	});
</script>